package com.hksj.Intelligentmanagement.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

/**
 * @ClassName LampControlDTO
 * @Description TODO
 * @Author @陈章
 * @Date 2023/4/6 15:12
 * @Version 1.0
 */
@Data
public class LampControlDTO {

    @ApiModelProperty("传参示例 ===> 开启二号手术室的灯带1:{\"cmd\":\"OR02_OpenLight1\"} 关闭二号手术室的空调: {\"cmd\":\"OR02_CloseAir\"}")
    @NotBlank(message = "参数不能为空、例如{\"cmd\":\"OR02_CloseLight2\"}")
    private String cmd;

    //当前页
    @ApiModelProperty("当前页")
    private Integer pageNum;

    //每页大小
    @ApiModelProperty("每页大小")
    private Integer pageSize;

}
